// adapter/rest/BorrowBookRequest.java
package com.library.bookservice.adapter.rest;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * 借阅图书请求DTO
 */
public record BorrowBookRequest(
        @NotNull Long bookId,
        @NotBlank String borrowerName,
        @NotBlank String borrowerPhone
) {}